package com.yunxi.service.dubboService.impl.otd;

import com.yunxi.core.web.ApiResult;
import com.yunxi.hubToBiz.pojo.PackageConstraintVO;
import com.yunxi.hubToBiz.service.ConstraintConfigDubboService;
import com.yunxi.service.localService.otd.VehicleConfigConstraintService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

/**
 * 工程配置约束规则 BOM-->PMS
 *
 * @author XUQI
 */
public class ConstraintConfigDubboServiceImpl implements ConstraintConfigDubboService {

    @Autowired
    @Qualifier("vehicleConfigConstraintServiceImpl")
    VehicleConfigConstraintService constraintService;


    /**
     * BOM to PMS  Config Constraint
     * @param dataList data
     * @return ApiResult
     */
    @Override
    public ApiResult receiveBomData(List<PackageConstraintVO> dataList) {
        return constraintService.receiveBomData(dataList);
    }
}
